import request from "@/utils/request";

const BASE_URL = "/admin-api/aqi";

class AqiAPI {
  static getAqiLevelDistribution() {
    return request<any, any>({
      url: `${BASE_URL}/getAqiLevelDistribution`,
      method: "get",
    });
  }

  static getAqiTrendStatisticAllYearMonth() {
    return request<any, any>({
      url: `${BASE_URL}/getAqiTrendStatisticAllYearMonth`,
      method: "get",
    });
  }

  static getOtherStatistic() {
    return request<any, any>({
      url: `${BASE_URL}/getOtherStatistic`,
      method: "get",
    });
  }
}

export default AqiAPI;
